package scau.redi.social_platform.common.staticCode;

import com.google.common.collect.Sets;

import java.util.Set;

public class Const {

    public static final String CURRENT_USER = "currentUser";

    public static final String USERNAME = "username";

    public interface Role{
        int ROLE_VISITOR = 1; //游客
        int ROLE_USER = 2; //普通用户
        int ROLE_ADMIN = 3;//管理员
    }

    public interface UserStatus{
        int STATUS_NORMAL = 1; // 账号状态正常
        int STATUS_BAN = 0; // 账号状态封禁，禁止发布分享，其分享不可见
    }

    public interface SharedStatus{
        int STATUS_NORMAL = 2; // 允许所有人查看，允许点赞和评论
        int STATUS_READ_ONLY = 1; // 允许所有人查看，允许点赞，不允许评论
        int STATUS_INVISIBLE = 0; // 不允许所有人查看，不允许点赞和评论
    }

}
